package org.vectrics.user;

import org.vectrics.common.db.RecordObject;

public class PersonPrivilegeGroupAssignRights implements RecordObject {
	public static final String SCOPE_GLOBAL = "global";
	public static final String SCOPE_COMPANY = "company";

	private Long id = null;
	private UserPrivilegeType userPrivilegeType = null;
	private PersonPrivilegeGroupType personPrivilegeGroupType = null;
	private String scope = SCOPE_GLOBAL;
	
	public PersonPrivilegeGroupAssignRights() {
		super();
	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	
	/**
	 * @return Returns the personPrivilegeGroupType.
	 */
	public PersonPrivilegeGroupType getPersonPrivilegeGroupType() {
		return personPrivilegeGroupType;
	}

	/**
	 * @param personPrivilegeGroupType The personPrivilegeGroupType to set.
	 */
	public void setPersonPrivilegeGroupType(
			PersonPrivilegeGroupType personPrivilegeGroupType) {
		this.personPrivilegeGroupType = personPrivilegeGroupType;
	}

	/**
	 * @return Returns the userPrivilegeType.
	 */
	public UserPrivilegeType getUserPrivilegeType() {
		return userPrivilegeType;
	}

	/**
	 * @param userPrivilegeType The userPrivilegeType to set.
	 */
	public void setUserPrivilegeType(UserPrivilegeType userPrivilegeType) {
		this.userPrivilegeType = userPrivilegeType;
	}

	/**
	 * @return Returns the scope.
	 */
	public String getScope() {
		return scope;
	}

	/**
	 * @param scope The scope to set.
	 */
	public void setScope(String scope) {
		this.scope = scope;
	}

}
